package com.xframe.domain.e3sp.bu.sale;

import com.xframe.domain.BaseModel;
import com.xframe.xdal.core.annotation.AutoFill;
import com.xframe.xdal.core.annotation.XColumn;
import com.xframe.xdal.core.annotation.XTable;
import com.xframe.xdal.core.constant.AutoFillType;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * com.xframe.domain.e3sp.bu.sale.Regulate
 * @author zjj
 * @create 2024/4/20 11:25
 */

@Data
@Accessors(chain=true)
@XTable(value = "bu_t05_regulate", label = "库存调整表",dataSourceCode = "warehouse")
public class Regulate extends BaseModel {

    /**
     * 库存调整表ID
     */
    @AutoFill(AutoFillType.Snowflake)
    @XColumn(name = "regulate_id", primaryKeyFlag = true,desc = "库存调整表ID")
    private Long regulateId;

    /**
     * 备件清单ID
     */
    @XColumn(name = "spare_part_id" ,desc = "备件清单ID")
    private Long sparePartId;

    /**
     * 备件编码
     */
    @XColumn(name = "spare_part_no" ,desc = "备件编码")
    private String sparePartNo;

    /**
     * 备件名称
     */
    @XColumn(name = "spare_part_name" ,desc = "备件名称")
    private String sparePartName;

    /**
     * 调整类型 1 = 国内数量限制2 =海外数量调拨 3=大客户备件数量调拨
     */
    @XColumn(name = "regulate_type" ,desc = "调整类型")
    private Integer regulateType;

    /**
     * 调整数量
     */
    @XColumn(name = "regulate_num" ,desc = "调整数量")
    private Integer regulateNum;

    /**
     * 备注
     */
    @XColumn(name = "remark", desc = "备注")
    private String remark;

}
